import type { CategoryTopItem } from "@/types/category"
import { http } from "@/utils/http"

// 分类列表接口
export const getCategoryTopAPI = () => {
    return http<CategoryTopItem[]>({
        method: 'GET',
        url: '/category/top'
    })
}